package com.yf.modules.security.model.dto;

import jakarta.validation.constraints.NotBlank;
import lombok.Getter;
import lombok.Setter;

/**
 * @author chentianwei
 * @date 2023/5/5 9:03
 * @description 登录入口用DTO
 */
@Getter
@Setter
public class AuthUserDto {

    @NotBlank(message = "用户名不可为空")
    private String username;

    @NotBlank(message = "密码不可为空")
    private String password;
}
